package org.jeecg.modules.health_code.entity.sm.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "计算SM3摘要值请求对象")
public class DigestSM3Request implements Serializable
{   
    private static final long serialVersionUID = 4766409954018940686L;

    @ApiModelProperty(value = "令牌",required=true)
    @NotBlank(message = "令牌不能为空")
    private String token;
    
    @ApiModelProperty(value = "时间戳（毫秒级）",required=true)
    @NotBlank(message = "时间戳不能为空")
    private Long timestamp;
    
}
